﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using Vit.Web.Models;

namespace Vit.Web.Providers
{
    public interface IRelationProvider : Vit.Common.IProvider
    {
        IEnumerable<string> GetRelationTypes();
        IQueryable<string> GetRelationObjectIds(string objectType, string objectId, string targetType, string relationType);
        void AddRelations(string object1Type, string object1Id, string object2Type, string object2Id, string relationType);
    }
}
